﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home/Layouts/Home.Master" AutoEventWireup="true"
    CodeBehind="ProductDetail.aspx.cs" Inherits="Thuoc24h.Home.Pages.ProductDetail" %>

<%@ Import Namespace="Thuoc24h.Common" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadPLH" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPLH" runat="server">
    <h1 class="TopHeader">
        <asp:Literal runat="server" ID="ProductNameLtr"></asp:Literal></h1>
    <div id="ProductDetailWrapper">
        <div id="ProductDetailContent">
            <div id="ProductDetailPhotos">
                <h3 id="ProductDiscount">
                    <asp:Literal runat="server" ID="ltrPriceDiscount" /></h3>
                <ul id="ProductPhotoSlider">
                    <asp:Literal runat="server" ID="ltrProductImageThum"></asp:Literal>
                </ul>
                <div id="ProductPhotoSliderPager">
                    <%-- <a data-slide-index="0" href=""><img src="/Themes/Images/Demo/ppp.jpg" /></a>--%>
                    <asp:Literal runat="server" ID="ltrImagePager"></asp:Literal>
                </div>
            </div>
            <div id="ProductDetailInfo">
                <div id="ProductDetailInfoContent">
                    <h2 id="ProductDetailTitle">
                        <asp:Literal runat="server" ID="ltrName" />
                    </h2>
                    <h1 id="ProductSellPrice">
                        <asp:Literal runat="server" ID="ltrPrice" /></h1>
                    <p id="ProductOldPrice">
                        <asp:Literal runat="server" ID="ltrPriceOld" /></p>
                    <asp:Repeater runat="server" ID="UnitPricesRpt">
                        <HeaderTemplate>
                            <div id="OtherPriceWrapper">
                                <label>
                                    Giá khác:
                                </label>
                                <table style="width: 100%">
                                    <tr style="color: #999;">
                                        <td style="width: 100px;">
                                            Giá
                                        </td>
                                        <td>
                                            Giá khuyến mại
                                        </td>
                                        <td style="width: 80px;">
                                            Đơn vị
                                        </td>
                                    </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr style="color: #555;">
                                <td>
                                    <%#Eval("Price") %>
                                </td>
                                <td style="color: orangered;">
                                    <%#Eval("DiscountPrice") %>
                                </td>
                                <td>
                                    <%#Eval("Unit") %>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table> </div>
                        </FooterTemplate>
                    </asp:Repeater>
                    <div id="ProductDescription">
                        <asp:Literal runat="server" ID="ltrProductDesc" />
                    </div>
                    <asp:Literal runat="server" ID="ltrPromotion" />
                    <%--   <div id="ProductPromotion">
                        <h3>
                            Khuyến mại:</h3>
                        <div>
                            Tặng kèm: 1 hộp bcs ok china</div>
                    </div>--%>
                    <div id="ProductBuyWrapper">
                        <asp:Literal runat="server" ID="ltrBtnBuy"></asp:Literal>
                        <%--    <a href="/<%=Utils.BuildUrl("mua-hang",productId) %>">Mua hàng</a>--%>
                    </div>
                    <div id="ProductPolicy">
                        <h3>
                            Chính sách chung</h3>
                        <ul>
                            <li>* Giao hàng trong 3 - 5 ngày làm việc</li>
                            <li>* Giao hàng toàn quốc</li>
                            <li>* Thanh toán khi nhận hàng</li>
                            <li>* Đổi trả sản phẩm lỗi trong vòng 30 ngày</li>
                        </ul>
                    </div>
                </div>
            </div>
            <div id="ProductContentDetailWrapper">
                <h3 id="ProductContentDetailTitle">
                    Thông tin sản phẩm</h3>
                <div id="ProductContentDetailContent">
                    <asp:Literal runat="server" ID="ltrDetail" />
                    <div style="clear: both;">
                    </div>
                </div>
                <!-- AddThis Button BEGIN -->
                <div class="addthis_toolbox addthis_default_style ">
                    <a class="addthis_button_facebook_like" <%="fb:like:layout"%>="button_count"></a>
                    <a class="addthis_button_tweet"></a><a class="addthis_button_pinterest_pinit"></a>
                    <a class="addthis_counter addthis_pill_style"></a>
                </div>
                <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-523c64201b379af8"></script>
                <!-- AddThis Button END -->
            </div>
            <div id="ProductCommentWrapper">
                <h3 id="ProductCommentTitle">
                    Bình luận và trả lời</h3>
                <div id="ProductCommentContent">
                    <div class="fb-comments" data-width="720">
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
